package com.example.restaurant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.sql.Time;
import java.sql.Timestamp;

/**
 * @BelongsProject: chat
 * @BelongsPackage: com.example.restaurant.entity
 * @Author: chenAng
 * @CreateTime: 2023-12-12  19:34
 * @Version: 1.0
 */
@Data
public class Chat implements Serializable {

    @TableId(value="id",type= IdType.AUTO)
    private Integer id;

    private String sendid;

    private String receiverid;

    private String message;

    private Timestamp sendtime;

    private Integer is_read;

}
